package com.semo.ppoomppai;

import android.app.Activity;
import android.content.Intent;
import android.graphics.Typeface;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class Information extends Activity{
	private Typeface normal_face;
	private Typeface bold_face;
	
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.information);
		
		normal_face = Typeface.createFromAsset(getAssets(), "NanumGothic.ttf");
		bold_face = Typeface.createFromAsset(getAssets(), "NanumGothicBold.ttf");
		
		TextView tv = (TextView) findViewById(R.id.tv_title_desc_main);
		tv.setTypeface(bold_face);
		tv = (TextView) findViewById(R.id.tv_desc_main);
		tv.setTypeface(normal_face);
		
		Button mBtnHome = (Button) findViewById(R.id.btn_info_header_home);
		mBtnHome.setOnClickListener(new OnClickListener() {
			@Override
			public void onClick(View v) {
				goToHome();
			}
		});
	}
	
	private void goToHome() {
		finish();
	}
}		
